package com.lone.design.pattern.creational.prototype;

/**
 * @author Lone
 * @date 2021/9/24 14:56 周五
 */
public class RealizeType implements Cloneable{

    public RealizeType() {
        System.out.println("具体原型对象创建完成");
    }

    @Override
    public RealizeType clone() throws CloneNotSupportedException {
        System.out.println("具体原型clone成功");
        return (RealizeType)super.clone();
    }
}
